<template>
  <div class="custom-table" v-loading="loading">
    <div v-if="!invites.length" class="easy-container no-data">{{ loading ? '' : '暂无数据' }}</div>
    <InvitesListItem v-for="invite in invites" :key="invite.id" :invite="invite" />
  </div>
</template>

<script>
import InvitesListItem from './InvitesListItem';

export default {
  name: 'InvitesList', // 邀请列表
  components: { InvitesListItem },
  props: {
    invites: {
      type: Array,
      required: true,
    },
    loading: {
      type: Boolean,
      required: true,
    },
  },
};
</script>

<style></style>
